.doc a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  
  transition: border-bottom-color ease .3s, background-color ease .3s;
}

.doc a:link,
.doc a:visited{
  color: var(--doc-link-color);
}

.doc a:hover {
  text-decoration: none;
  color: var(--doc-link-color);
  border-bottom-color: var(--doc-link-color);
  background-color: var(--doc-link-hover-bg-color);
}

.doc a:not([href]):not([tabindex]):focus {
  outline: 0;
}

.doc-header{
  position: fixed;
  top: 0;
  width: 100%;
  height: 45px;
  background-color:#fff;
  z-index: 10;
  border-bottom: 1px solid #dcdfe6;
}

.doc-header-main{
  width: var(--doc-main-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.doc-container{
  width: var(--doc-main-width);
  margin: 0 auto;
  padding-top: 45px;
  display: flex;
  flex-flow: row nowrap;
  min-height: calc(100vh - 45px);
}

.doc-nav{
  width: 240px;
  position: sticky;
  top: 45px;
  max-height: calc(100vh - 85px);
  overflow-y: auto;
  padding: 20px 0;
}

.doc-content{
  flex: 1;
  padding-right: 180px;
  position: relative;
  width: 0;
}

.doc-main{
  padding: 20px 20px 0 20px;
}

.doc-footer{
  height: 40px;
  padding: 10px 0;
}

.doc-copyright{
  width: var(--doc-main-width);
  margin: 0 auto;
  color: #999;
  text-align: center;
  line-height: 20px;
  font-size: 13px;
}

.doc-menus{
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-menu-item{
  position: relative;
  line-height: 20px;
  padding-right: 24px;
  font-size: 15px;
  user-select: none;
}

.doc-menu-group:first-child{
  margin-top: 0;
}

.doc-menu-item > a:link,
.doc-menu-item > a:visited{
  color: #333;
}

.doc-menu-item > a:hover{
  color: var(--doc-link-color);;
}

.doc-menu-item > a.router-link-exact-active{
  font-weight: 700;
  color: var(--doc-link-color);;
}

.doc-menu-item > small{
  color: #666;
  font-size: 12px;
  margin-left: 8px;
}

.doc-menu-group{
  height: 28px;
  line-height: 28px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  margin-top: 15px;
}

.doc-menu-loading::after{
  content: '';
  position: absolute;
  right: 4px;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--doc-color-primary);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;

  animation: doc-menu-rotate 1s linear infinite;
}

@keyframes doc-menu-rotate{
  100% { transform: rotate(360deg) }
}

.doc-logo > strong{
  font-weight: 600; 
  font-size: 24px;
  user-select: none;
} 

.doc-logo > small{
  font-size: 12px;
  margin-left: 4px;
  color: #666;
}

.doc-header-links img{
  display: inline-block;
  vertical-align: middle;
}

.doc-header-links a{
  margin: 0 2px 0 20px;
  height: 18px;
  line-height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.doc-header-links a{
  font-weight: 500;
  color: var(--doc-text-color-primar);
}

.doc-header-links a:hover{
  color: var(--doc-link-color);
}

.doc-not-found{
  margin: 0;
  padding-top: 100px;
  font-size: 24px;
  flex: 1;
  text-align: center;
}

.doc-footer-guide{
  margin-top: 40px;
  border-top: 1px solid #dcdfe6;
  overflow: hidden;
  padding: 15px 0;
}

.doc-footer-guide-prev{
  float: left;
}

.doc-footer-guide-next{
  float: right;
}

.doc-affix{
  position: absolute;
  width: 180px;
  top: 20px;
  right: 0;
  padding-left: 20px;
}

.icon-outbound{
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;

  background: url('../../svg/outbound.svg') no-repeat;
}

is-link{
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

is-link:hover path,
is-link:hover polygon{
  fill: var(--doc-color-primary);
}

is-link > svg{
  display: block;
}

@media (max-width: 768px){
  .doc-header-main,
  .doc-container,
  .doc-copyright{
    width: 100%;
  }

  .doc-header-main{
    padding-left: 20px;
    padding-right: 20px;
  }

  .doc-nav{
    display: none;
  }

  .doc-affix{
    display: none;
  }

  .doc-content{
    padding-right: 0;
  }

  .doc-toggle-btn{
    display: block !important;
  }
}

.doc-nav.is-open{
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  background-color: rgba(0 ,0, 0, .125);
  max-height: 100%;
  width: 100%;
  padding: 0;
}

.doc-nav.is-open .doc-menus{
  padding: 20px;
  height: 100%;
  overflow: auto;
  background-color: #fff;
  width: 280px;
  float: right;
}

.doc-toggle-btn{
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 18;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  box-shadow: 0 1px 4px rgba(0 ,0, 0, .125);
  font-size: 12px;
  outline: none;
}